﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Qiang.Controls
{
    public class MapPaintArgs
    {

        //不知道这个和MapDrawArgs有什么区别？？

        /// <summary>
        /// 这个是Map控件的各个方法（function）各自绘制时传的参数。因为绘制时需刷新操做,刷新可能只刷新一部分，所以与MapDrawArgs区分开
        /// </summary>
        public MapPaintArgs(Graphics mapGarphics,Rectangle clipRectangle,MapControl map)
        {
            this._mapGraphics = mapGarphics;
            this._clipRectangle = clipRectangle;
            this._map = map;
        }


        private Graphics _mapGraphics;

        public Graphics MapGraphics
        {
            get { return _mapGraphics; }
            set { _mapGraphics = value; }
        }

        Rectangle _clipRectangle;

        public Rectangle ClipRectangle
        {
            get { return _clipRectangle; }
            set { _clipRectangle = value; }
        }


        MapControl _map;

        public MapControl Map
        {
            get { return _map; }
            set { _map = value; }
        }

    }
}
